/*
 * @Author: dusicheng 1151796629@qq.com
 * @Date: 2023-09-12 09:28:28
 * @LastEditors: dusicheng 1151796629@qq.com
 * @LastEditTime: 2023-09-12 10:42:32
 * @FilePath: \tcdm-process-console\src\views\pax\deposit\config\filters.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

import type { FilterItem } from '@/components/FilterBar/types'

export const exampleOptions: FilterItem[] = [
  {
    label: '物品编号', // 后续由接口获取下拉数据
    prop: 'goodsNum',
    type: 'input',
    span: 8,
    defaultValue: '',
    inputProps: {
      clearable: true,
      placeholder: ''
    }
  },
  {
    label: '物品名称',
    prop: 'goodsName',
    type: 'input',
    span: 8,
    inputProps: {
      clearable: true,
      placeholder: ''
    }
  },
  {
    label: '寄存人姓名',
    prop: 'depositName',
    type: 'input',
    span: 6,
    inputProps: {
      clearable: true,
      placeholder: ''
    }
  },
  {
    label: '寄存时间',
    prop: 'depositTime',
    type: 'datePicker',
    span: 8,
    defaultValue: [],
    inputProps: {
      type: 'daterange',
      'start-placeholder': 'YYYY-MM-DD',
      'end-placeholder': 'YYYY-MM-DD',
      'range-separator': '至'
    }
  },
  {
    label: '提取时间',
    prop: 'extractTime',
    type: 'datePicker',
    span: 8,
    defaultValue: [],
    inputProps: {
      type: 'daterange',
      'value-format': 'YYYY-MM-DD',
      'start-placeholder': 'YYYY-MM-DD',
      'end-placeholder': 'YYYY-MM-DD',
      'range-separator': '至'
    }
  }

]
